disconnectedUsers

fun ChatRoom.disconnectedUsers(): Flow<DisconnectUserEvent>

Flow of DisconnectUserEvent instances delivered to a ChatRoom.

Using this is equivalent to implementing ChatRoomListener.onUserDisconnected method.

This is a cold flow constructed using callbackFlow API.